updating nav position