calculate tbody height without hardcoded pixel value