added thumbnail management feature