sort out top nav and edit view