Javascript: Fix navigation on top header