fixed firefox issue with a simple update pauser
added simple wall collision so atoms bounce off edges