Rearranges accordion