moved nav code to application layout yield