changes button size to % instead of px