added navigational controls to views (hasty commit to supplement piazza post)