Finalized vertical and horizontal layouts for main activity