[work in progress] Changed UI to no longer depend on JS for positioning.

WIP