Optimizing parallax for touch devices