updated application.js and auto scroll functionality to static index