fix to table-height. Now it works for different sized windows