Fix bug with scrolltosection