Animation module extended by extracted getDimensions method.