Fixed linked layers to card collapse, and various minor styling issues