Flyers gain confidence with strong homestand