re-arrange figures