Adds basic accordion functionality to be built upon