When you resize the brightness or volume, if you drag it so it is vertical and taking up 3 spaces (so drag the resize until it is below the top of the bar, taking up a total of 3 spaces), it will go vertical. And do the same but horizontal to make it go back.