add debug for scrolling