add support for rearranging panels