Update application.js, smooth scrolling.

So when click "back to top" button, or any link to elements in the same page, it goes smoothly.