Make canvas element and background sprite responsive based on screen size