fixed resize issue by rounding up height value