added scale and center animation