Revert: fix for keepInView in Safari