How do i change viewport navigation settings?

When navigating in the editor viewport, WASD are pretty straight forward. They move the camera in its local space just like a first person game. Q and E however move the camera in world space, which is really annoying. When looking straight down on my scene, S and E do exactly the same. How can i make Q and E move the camera in its local space like WASD do?