Add reorder for tabs (Fix #182)