Add animation for off-canvas panels.