Set margin to thumbnail sidebar