Make visible_lines explicit dependancy of ListState
Add spec for ListState