query WebGL for maximum texture size to support mobile devices
basic support for touch events