pan and erase