single click, for ipad function