removing all sections except the current instead of the previous item because if you switch screens quickly enough the previous-previous item will not set to visible:hidden..