changing layout to vertical style