Fix to previous change

Fixed an error preventing scroll to work!