Proper image scaling with some sketchy css