Added smoothscroll, made some changes