Side navigation now enters subgoals when they are clicked.  Also fixed bug in goalFactory.getGoal(id)