Refactored panel, looks much nicer with resizing now