edits for scrolling