Added twig alignment code to navigation, added selected state to navigation.