clear pointer after terminating screen