Change animated rectangle location