create animation up and down