fix scroll bar initial load in channel and server logs

The scroll bar doesn't load in the channel log even if log is overflowing . This commit will fix the initial loading problem of the scrollbar.