I believe the design is to protect the intake from ingesting bird life on transition.Spriddler , yup, the hatch allows extra throughput of air and that shortens the take off.
But as you say, angling the flap like that is counter intuitive to aerodynamics and makes you wonder why they didn't do a longitudinal split clam shell type arrangement, like traditional bomb bay doors, but on the roof ?