add a parameter to animation block

@ndonald2  My most common use case for watching keyboard hide/show is to modify the bottom edge inset of a table view. Currently, there's no way to know inside the animation block if the keyboard is being hidden so I can change the bottom inset back to 0. This helps that use case.