Added css and option to collapse ticks by default is set to true.