tab appearance and touch event