jQuery snippet to fix an element until the height of another element in the page