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.