open last tab on tab close and visual changes to tabs