Making image size in search info dynamic based on screen size