change autorefresh from mouseon to click (for touch compability)