added possibility to disable folder preview