added input resets for iphone and ipad