animate first element in if using _LAST or _FIRST. else use the specific index to snap to it