Divided Animation's render function into two functions. The first being
update which will update the cell position and then other being render
which will render the cell position.