cleanup
Added touch detection
Fixed API link issues