Detect first element to scroll