Franklin boots decisive goal in Swans win