The variable $bitter is leftover from grabbing this function from twentythirteen, it's not used/defined here.
Formatting & documentation
Remove back-compat for 3.4, we only need to worry about 3.5+
Fix gallery styling for 1, 2, and 3 column galleries (fixes #8)