suggested solution to sorted nav issue. works locally.