added mouse movement support and a new example