adjusting top margin from % to px