added delay timer to nav menu