pan demo with arrows