add resizeListBox utility method to auto-calculate container height based on item count adjust shop and equip list heights automatically when populating data