Well I found a solution which mostly works. The only remaining problem is the error message dialog. For that I edited jqgridmin.js to reduce the divisor on the top .css property form 2 to 1.5 to move it down the page. It's still not relative to the viewport