Scaling canvas according to size of screen