fixing scrollToFix header disappearing bug