navigation in database with nested set