styling lesson controller to go back to lessons after edit