Added ability to set custom animation completion blocks when showing/hiding panels