fix gravity on touch devices