scrolling jumps to closest content