WSOTWO-147: added a button for changing diagram orientation