Used $anchorScroll() to scoll to top