replaced resizing panel by relativelayoutpanel, which handles creating,
storing and setting up layout much easier and more readable