MOB-651: jQuerys width gives width of visible part of table instead of r...

...eal width

I'm sorry the last time I do fix and style guide fixes in one commit

$.width() - gives you visible width not real width
scrollWidth fixes this problem