prevent page scrolling on shorter lists