trying to get dynamic ui setup by piecing together fragments