updated smoothscroll for not doing anything in not supported browsers