Liverpool continue their march towards the Premier League title with a 1-0 victory in a scrappy Merseyside derby.