Fixed jQuery header animate bug