thumbnail and pan mode