Fixed bug where 0 values would not be regarded to scroll.