fixed syntax error in case statement for ruby > 1.8.7; squeezed UI elements together slightly vertically to prevent scrolling on smaller screen sizes