Clear out no longer used styles, shrink the size of the main container