TIMOB-17260-If there is layout pending, queue up new request to animate

Modified the animate code to queue up a new request if there is layout pending.

https://jira.appcelerator.org/browse/TIMOB-17260