Fixed animate class on slider