Support card panning.

Support card panning and excessive datasource, delegate separation.
Added panning support