John Gibson ties a franchise record with 51 saves in win over Flyers