added px to resizebyresolution