Fixed issues with table view being too high in landscape 

I don't know why this code was in place but it was certainly wrong. 
When the device is rotated, the width and height of the screen change accordingly. Thus it makes absolutely no sense to flip those two when the screen is in landscape mode.

This resulted in the table view being too high (exactly as high as the screen is wide) and the lowest few elements not being accessible anymore.

fixes #78