Fix for the scroll pane.

Now it doesn't cut of the table element, but headers are missing. Fixing
that as well. Thanks to my friend :D