History back aware Smooth Scroll

Section 1: Pop scroll position

This restores scroll position on popstate event.

Next section

Section 2: Known issues

Next section

Section 3