timob-16918: fix 'right' and 'bottom' animations for honeycomb+ devices
timob-16918: added null check.
timob-16918: fix animation for vertical and hori. layout
timob-16918: simplify equation
timob-16918: remove extra parens.
Merge pull request #5699 from hieupham007/timob-16918

timob-16918: fix 'right' and 'bottom' animations for honeycomb+ devices