changing branch changes current view