Easy implementation of accordion collapse funtionality