variable rename and hide cursor for touch and diashow