First iteration of a jQuery free version of Keep In View