changed <svg>s to <div>s, centered, added some js logic