implemented stacked list basics
fixed case of closing multiple list levels