Added required functions for protocols

Added functions that are required to adhere to the
UIViewControllerAnimatedTransitioning and
UIViewControllerTransitioningDelegate protocols