created panels with buttons and images