slight modification to scroll