added dynamic graph selection (wiggle, silhouette, expand and zero) and auto-resizing of graph on window resize