Add support for panning on custom views [Finishes #95]