timob-16918: fix animation for vertical and hori. layout