gallery interval time fix