Scroll only if not in viewport