added split panels, needs resizing work