scrollbar now works when resize happened