changed panel placing and formatting