fixed slide in/out animation