JAL-3071 restore correct if-else branches in startScrolling