Fix scroll view size when no scrolling is needed.