changed autoCollapse to true as it only is used when collapse is enabled (and it is assumed that if collapse is true then autoCollapse would be true as well).