added dynamic table height