function to unfix nav when iputs are focused on touch devices