change to pageshow so reload button works