pause and start simulation