moved viewmodels and implemented proper tag-pane handling