added header click event
added header click event