fix up and down arrows in the top and bottom cells