Refactor ui

I think you can reduce these to one instance by taking advantage of CSS