add basic ui for switching views