Handle resize events that change the height of the stickyElement