adjust carousel animation to prevent double click