add scroll behaviour for internal links and bookmarked pages