Optimalisation changes

Changed visual/themes/default/layout_inc/navigation.php to be more
optimal in usage.