split the UI into top and bottom sections