Change margin during Tab change mode
Remove unused code for now