Simplify nav fade transition code