if you want some dom follow another dom scroll when it is isibiale it also can fixed in window,you can try tie.js