Add class "square" when the width of the viewer equals the height.