pass element instead of selector
refactor panning code to lib
render parent view after all hooks have fired
enabling panning in detail view