Align input form on top for narrow long diagrams.