return timeout at resize