Conditional in js fixed nav behavios issue.