Implemented pannable viewport.