saving touchyacc when visibility goes to false.