button for switching horizontal and vertical layout

* optimised plug-in editor inialisation (less redraws)