first very crude attempt at migrating charts, etc. to tabs + fragments