Fixed double-negative in open/close customization

The close was calling animateOpen which was performing close as its default action, so the behaviour was normal but it was actually a double negative mistake.  Vice Versa for animateClose.