fix for touch devices