Used .order(created_at: :asc) to iterate through panels in correct order.