change layout from accordion to block