add header transition effect