changed gui layout to a BorderLayout with multiple panels