added the scaling for these edit and button elements