fixed the animation for portfolio