Easily add a class to an element when he reach the top