slider and wave animation