I am using angular 5. I have a dashboard where I have few sections with small content and few sections with so large content that I am facing a problem when changing router
Now there's a built in solution available in Angular 6.1 with scrollPositionRestoration option.
scrollPositionRestoration
See my answer on Angular 2 Scroll to top on Route Change.