navbar moved to directive