added option to enable/disable collapse icon from showing