#31 adding delegate feature for open/close animations