update keyframes snippet and add center-y snippet