draw function is also given clock info
added support for mouse touch/drag/release