fix animation while scrolling tabs