added js to scroll the page