remove warnings on xcode6
add pan gesture support to cdnavigationcontroller