some preparations for multitouch support