center zoom for inputs