make canvas more responsive