Dynamically set canvas size to browser viewport size