min height main container, refactor gallery list