Added nav functionality