fixing some nav scroll animation issues