add % to scaledwidth if no units given