plugged memory leak that was preventing garbage collection of target view

removed anonymous function and replaced with 'if' condition because anonymous function was retaining a reference to the target view thus the view wasn't getting garbage collected. Tested with Instruments. Note, only tested and corrected fadeIn and fadeOut. Other animation methods here probably also need adjusting.
Merge pull request #113 from abcd-ca/animation-memory-leak-fix

[ALOY-642] plugged memory leak that was preventing garbage collection of target view