adjusted for touch devices