Keep a bar or other component fixed while scrolling the window beyond a certain point