simulate CSS3 position: sticky