mimics the bootstrap accordion jquery, except it goes left-right, rather than up/down