automatic handling of screen width on listview