replaces left with top for hiding tabs