Added code to space views even horizontally