[TIMOB-15776] Make sure that the layout properties are updated after the a...

Added code to update the layout properties after the animation is completed

https://jira.appcelerator.org/browse/TIMOB-15776