changed height:100% to min-height:100% in container so it always adjusts to adding/removing dom elements, added addtolist functionality in js