Improve slide animation when only 3 slides