fixed scrollbar not working after changing config settings
changed the way that item overlay code works to allow more precision