add justVisible option to selectAll