The scrolltoselector needed to be changed to dashboard-content. Now it will scroll to the top of the div