sandbox show hide fixed logic for padding and margin