Fixed reset handler and iPhone problem.

Don't use screenX, screenY as this causes problems on retina displays.
Whitespace fixes.