It depends how you mount the combo.
The bottom of the D5 Next has a set of mounting holes. If you use those alone, you can freely rotate the section with the ports on it. Because of the soft vibration damper/LED bar, there is some potential for wobbling if you do it this way and the pump must be oriented vertically. I have three pumps mounted this way and it isn't bad.
The section with the ports also has its own set of mounting holes. If you use these, then that section cannot rotate.
In the pic, both sets of mounting holes are used. This is a very secure mount, but with the limitation of not being able to move the ports.