added ability to hook into reveal animation