pause carousel properly