fixes #6 for lists longer the 10 items. thanks @djacquel