Enhance slide-in/out animation