Added horizontal functionality. Many other functionalities currently removed