changed delay() for .header click