Added sticky header function with animation