made container collapse use js instead of css