Allow setting either top or bottom offsets only

Allows people to set only a top or bottom offset instead of requiring both of them.