Restricted pannable area to set height width, #24

Restricted the pannable area to the already specified height width of the
PanZoom component. This resolves the issue if user tries to leave the pan
of the content outside the viewable area. Now the pannable area is
restricted and the content cannot pan outside that area.