Rewrote panels to use new positioning helper classes