Fix for single row issue #3

It will now correctly display single rows and also not scale as if there
was more than the actual elements when having a single row.
Merge pull request #4 from jgranstrom/master

Fix for single row issue #3