move middle panel heading between buttons