Fixed issue when hiding occurred if the content of the scrollview were smaller than the frame of the scrollview.