working dynamic collapse
working preview and title