Storage compartment with adjustable shelf