rearranged panels and buttons