Sligo Rovers closed the gap at the top of the SSE Airtricity Premier Division table with another home win, this time against Longford Town.