Added required functions for protocols

Added methods required to confirm to protocols
UIViewControllerTransitioningDelegate and
UIViewControllerAnimatedTransitioning