Fix landscape mode

Use bounds instead of frame to calculate width of the buttons. This caused the control to be the wrong size in landscape mode.
Merge pull request #12 from depl0y/master

Fix landscape mode