Create panels using a custom reference