When Liverpool needed a boost, the Anfield crowd motivated the Reds to a vital win - with Mohamed Salah returning to form.