refactored scroll variables
added red selector test