navbar updates as you scroll