Scroll to the top when pop-up opened