reset slider max value on canceling animation loading