Scroll down this page.
When you have scrolled 50 pixels from the top, add the class "test" to the paragraph. Scroll up again to remove the class.