changing canvas to div