Add previous_on_rm param to TreeTab layout

Makes previous window selected on remove instead of the first of tree.
Default value: False