changes to % instead of pixel