remove scrollbars when not needed