Creating a custom panel layout