Gareth Ainsworth put family first when he left Shrewsbury for Gillingham - and enjoyed a winning return on Saturday.