Edits scrolling js for new header styles