Recently opened element are scrolled to if not in viewport