Adjust toolbar styles position on switching to link mode and vice versa