fixed header issue and click events on transitions