Updates the documentation to improve grammar and include both vertical and horizontal layout functionality.