Use % instead of hardcoded pixel value