Changes stack / unstack to vertical / horizontal