fixed issue with collapsable feature