stop togglepause and page reload working