Salford man sentenced after 'touching himself' while sitting