Fixed a bug that uneccessary scrollbar