finished layout and navigation