modified navigation private functions to use _elgg namespace