added pause with space, click to switch value of cell
fixed offset bug