Swansea's Jonjo Shelvey says Liverpool skipper Steven Gerrard advised him to remain at Anfield rather than head to south Wales.