Fix behaviour when the view is large enough that no vertical scrolling is needed