Migrate PanedPosition class.