Horizontal layout added for graph fragment