Fixed #7 - Layout animation bug