Hooked nav changes to work properly