Slightly simplified the scrollbar placement.

This is a minor cleanup and removes a slightly overblown
'switch' statement in favour of a less code-duplicate-ish
version.
Merge pull request #51 from Ed-von-Schleck/cleanup04

Slightly simplified the scrollbar placement.